package cn.hibernatedemo.entity;

import java.util.Date;

public class EmpCondition {
    private String job;
    private Float sal;
    private Date hireStartDate;
    private Date hireEndDate;

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public Float getSal() {
        return sal;
    }

    public void setSal(Float sal) {
        this.sal = sal;
    }

    public Date getHireStartDate() {
        return hireStartDate;
    }

    public void setHireStartDate(Date hireStartDate) {
        this.hireStartDate = hireStartDate;
    }

    public Date getHireEndDate() {
        return hireEndDate;
    }

    public void setHireEndDate(Date hireEndDate) {
        this.hireEndDate = hireEndDate;
    }

    public EmpCondition(String job, Float sal, Date hireStartDate, Date hireEndDate) {
        this.job = job;
        this.sal = sal;
        this.hireStartDate = hireStartDate;
        this.hireEndDate = hireEndDate;
    }

    public EmpCondition() {
    }
}
